package com.xpxrule.service;

import com.xpxrule.dataobject.biz.model.ReturnResponse;
import com.xpxrule.dataobject.dao.ModelItem;
import com.xpxrule.dataobject.req.ModelItemQueryReq;
import com.xpxrule.dataobject.vo.ModelItemVo;

import java.util.List;

/**
 * @version 1.0
 * @Author xiangpengxiang
 * @Date 2024/11/20 19:27
 * @注释
 */
public interface ModelItemService {
    ReturnResponse<Integer> insert(ModelItemVo vo);

    ReturnResponse<Integer> delete(Long id);

    ReturnResponse<Integer> update(ModelItemVo vo);

    ReturnResponse<List<ModelItemVo>> selectList(ModelItemQueryReq req);

    List<ModelItem> getModelItemsByModelKey(String modelKey);

    ModelItem getModelItemsByModelKeyAndFieldKey(String modelKey, String fieldKey);
}
